package com.example.demo.pojo.entity;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * 联系人实体类
 *
 * @author Wei
 * @date 2024/05/19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Getter
@Setter
@Accessors
public class Person {

    public static Long curId = 1L;

    public static Long getCurId() {
        return curId++;
    }

    private Long id;

    private String name;

    private String phone;

    private String address;
}
